package com.cubeofnine.sugar.activity.import_contact;

import java.util.List;

import com.cubeofnine.sugar.service.element.Contact;

import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;

public class OnClickDialogToContinue implements OnClickListener {

	private Context context;
	private List<Contact> selectedItem;
	private boolean answer;

	public OnClickDialogToContinue(Context context, List<Contact> selectedItem,
			boolean answer) {
		super();
		this.context = context;
		this.selectedItem = selectedItem;
		this.answer = answer;
	}

	public void onClick(DialogInterface arg0, int arg1) {
		((ImportContactsListActivity) context).gotoNextProcess(selectedItem,
				answer);
	}

}
